package com.jdrx.ocp.beans.dto.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 微信端绑定openId
 */
@ApiModel(value = "BindingOpenIdDTO", description = "微信端绑定openId")
public class BindingOpenIdDTO {

    /**
     * 用户手机号
     */
    @NotBlank
    @ApiModelProperty(value = "手机号", required = true)
    String phone;

    @NotBlank
    @ApiModelProperty(value = "openId", required = true)
    String openId;

    @NotBlank
    @ApiModelProperty(value = "验证码", required = true)
    String validateCode;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }
}
